package com.yanqu.road.entity.monopolymarket.group;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.servergroup.ICrossServerGroup;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description 这张表 后台维护的 服务端只负责读取
 * @Author cwq
 * @Data 2021/8/11 18:06
 */
@FieldTypeAnnotation(tableName = "t_s_monopolymarket_backend_group")
public class MonopolyMarketBackEndGroup{
    @FieldTypeAnnotation(select = true, update = true)
    private int channelId;
    @FieldTypeAnnotation(select = true, update = true)
    private long groupId;
    @FieldTypeAnnotation(desc = "后台 同一个区服不会出现在多个分组")
    private List<Long> serverList = new ArrayList<>();
    @FieldTypeAnnotation(desc = "开启状态 1开启 0 关闭")
    private int state;
    @FieldTypeAnnotation(desc = "边关要塞是否开启 (0关闭 1开启)")
    private int fortressState;
    @FieldTypeAnnotation(desc = "最后一次修改分组区服的时间")
    private int changTime;

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public long getGroupId() {
        return groupId;
    }

    public void setGroupId(long groupId) {
        this.groupId = groupId;
    }

    public List<Long> getServerList() {
        return serverList;
    }

    public void setServerList(List<Long> serverList) {
        this.serverList = serverList;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getChangTime() {
        return changTime;
    }

    public void setChangTime(int changTime) {
        this.changTime = changTime;
    }

    public int getFortressState() {
        return fortressState;
    }

    public void setFortressState(int fortressState) {
        this.fortressState = fortressState;
    }
}
